System and method for supporting printer features in an IPDS printing environment

ABSTRACT

A system and method are provided for supporting printer-based features in an IPDS printing environment. The system and method enable the printer to assign logical page identifiers to IPDS pages and track them internally. The printer only reports status to the host computer for pages flagged as host generated pages. Printer generated pages are not included in IPDS page counts. This enables one to invoke advanced printer-based features at the printer without corrupting the counts used by the host computer for error recovery and print job management in the IPDS printing environment.

BACKGROUND

The present disclosure relates to printing systems, more specifically,to a system and method for supporting value added printer features, suchas N-1 printing and imposition, in an IPDS (Intelligent Printer DataStream) printing environment.

IPDS is an IBM printer data stream protocol designed to manage andcontrol printer processes using a mainframe host interface or PrintService Facility (PSF). IPDS is both a page-description language and aprinter-control protocol. IPDS is distinguished from other data streamsfor printers because it provides all-points addressability, errorrecovery and two-way communications between the printer and PSF or hostcomputer (e.g., mainframe computer). Also, IPDS provides data streamcompatibility across the IPDS product line independent of speed,physical attachment or rendering technology.

IPDS error recovery assists the customer by providing improved systemmanagement and printer operations. For example, the operator is notifiedby the printer and PSF when human intervention in the print process isrequired. The notification process provides a clear direction of what isneeded to correct the printing process, such as font availabilitynotification or paper supply out messages.

PSF provides the customer with transparent resource management bytracking fonts, page segments, overlays, images, and resource dataobjects and sending them to the printer as required.

The two-way communication at the data stream level provided by IPDShelps synchronize operating system and printer processes, exchangesquery-reply information and returns detailed exception information. Thisfunction provides the customer with improved printer operations andeasier problem identification and resolution.

The printers generally use a subset of the total set of IPDS commands tomanage their operations. These commands within the data stream enablethe system to control the media-handling capabilities of the printer(request duplexing, select paper sources, and offset printing jobs fromeach other) and other operations dealing with paper. The commands alsoprovide the means for managing the downloading of fonts and storedobjects, such as overlays and page segments, which are required to printan application.

In an IPDS printing environment, IPDS assumes that the printer is asimple page printer, and all advanced features are controlled from thePSF or host computer. Some modern printer controllers, such as DocuSP®,provide many advanced features at the printer. Many of these featureseither have no equivalent mainframe interface, or are more convenient touse from the printer console, rather than from the PSF or host computer.

However, a problem that arises when using these advanced features at theprinter console is that IPDS uses a page counting algorithm in which theprinter reports to the PSF or host computer how many pages it hasreceived, stacked, and committed for printing by a print engine.Advanced features which change the number of physical pages printed canaffect the page counts reported to the PSF or host computer, causingIPDS error recovery to fail, and causing other job management problemsat the PSF or host computer.

The following options are typically available to prevent IPDS errorrecovery from failing: (1) do not offer advanced printer-based featureswith printing systems that support IPDS; (2) suppress the advancedprinter-based features; (3) inform users not to make use of existingadvanced printer-based features with IPDS; and/or (4) internally adjustpage counts to support specific advanced printer-based features. Forexample, DocuSP® IPDS suppresses certain DocuSP® advanced printer-basedfeatures in the IPDS printing environment, while it informs users not touse other advanced printer-based features.

Based on the above background information, a need exists for enablingthe use of advanced printer-based features at the printer in an IPDSprinting environment.

SUMMARY

According to the present disclosure, a system and method are providedfor supporting printer-based features in an IPDS printing environment.The present disclosure calls for the printer to assign logical pageidentifiers to IPDS pages and track them internally. The printer onlyreports status to the PSF or host computer for pages flagged as hostgenerated pages. Printer generated pages, such as banners, multiplecopies, slip sheets, inserts, sample sheets, etc., are not included inIPDS page counts. This enables the user to invoke advanced printer-basedfeatures at the printer without corrupting the counts used by the hostcomputer for error recovery and print job management in the IPDSprinting environment.

Furthermore, the system and method in accordance with the presentdisclosure makes it possible to use printer-based features, such as N-1printing and imposition, which reorder output pages, in an IPDS printingenvironment which is not possible using conventional printing schemes.Additionally, the system and method in accordance with the presentdisclosure makes it possible to perform printer-based logical pageprocessing, which combines two or more logical pages on a single side ofa physical sheet of paper, without affecting the page counts reported tothe host computer.

According to the present disclosure, a printing system for supportingprinter based features which change the number of physical pages printedby a print engine of the printing system in an IPDS printing environmentis provided. The printing system includes a printer controller having atleast one processor for executing application software for associatingan IPDS logical page identifier (ILPID) with each-physical page of aprint job received from an IPDS host computer; determining a page countvalue based on the number of ILPIDs; and reporting the determinedILPID-based page count value rather than a physical page count value tothe IPDS host computer.

In an exemplary process, the at least one processor determines a pagecount value based on the number of ILPIDs by executing the applicationsoftware for processing each physical page associated with an ILPID todetermine if at least one logical page is imposed on said processedphysical page; concatenating at least one ILPID associated with the atleast one logical page into an ILPID associated with the correspondingphysical page, if it is determined that at least one logical page isimposed on said processed physical page; and counting the completenumber of ILPIDs associated with physical pages following the processingand concatenating steps to obtain the ILPID-based page count value.

The at least one processor further executes the application software forcommunicating ILPID data to a gateway as at least one of individualpages and groups of pages committed for printing, or stacked, by theprint engine; and analyzing the ILPID data by the gateway fordetermining the ILPID-based page count value. The at least one processoranalyzes the ILPID data by executing the application software fordetermining whether physical pages were reordered for N-1 printing orimposition; and waiting until a compete sequence of pages in 1-N ordercan be reported before informing the host computer that pages have beencommitted for printing or stacked by the print engine, if it isdetermined that the physical pages were reordered for N-1 printing orimposition.

The present disclosure also provides a method for an IPDS printingenvironment having an IPDS host computer in communication with a printercontroller of a printing system. The method provides for supportingprinter based features which change the number of physical pages printedby a print engine of the printing system. The method includesassociating an IPDS logical page identifier (ILPID) with each physicalpage of a print job received from the IPDS host computer; determining apage count value based on the number of ILPIDs; and reporting thedetermined ILPID-based page count value rather than a physical pagecount value to the IPDS host computer.

In an exemplary process, the step of determining includes processingeach physical page associated with an ILPID to determine if at least onelogical page is imposed on said processed physical page; concatenatingat least one ILPID associated with the at least one logical page into anILPID associated with the corresponding physical page, if it isdetermined that at least one logical page is imposed on said processedphysical page; and counting the complete number of ILPIDs associatedwith physical pages, following the processing and concatenating steps toobtain the ILPID-based page count value.

The step of reporting includes communicating ILPID data to a gateway asat least one of individual pages and groups of pages committed forprinting, or stacked, by the print engine; and analyzing the ILPID databy the gateway for determining the ILPID-based page count value. Theanalyzing step includes determining whether physical pages werereordered for N-1 printing or imposition; and waiting until a competesequence of pages in 1-N order can be reported before informing the hostcomputer that pages have been committed for printing or stacked by theprint engine, if it is determined that the physical pages were reorderedfor N-1 printing or imposition.

The present disclosure also provides a computer-readable storage mediumstoring a set of programmable instructions capable of being executed byat least one processor for performing the method in accordance with thepresent disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the present disclosure will be described hereinbelow with reference to the figures wherein:

FIG. 1 is a block diagram of an IPDS printing system in accordance withthe present disclosure; and

FIG. 2 is a flow chart illustrating a method for invoking printer-basedfeatures in an IPDS printing environment in accordance with the presentdisclosure.

DETAILED DESCRIPTION

Embodiments of the present disclosure will be described herein belowwith reference to the accompanying drawings. In the followingdescription, well-known functions or constructions are not described indetail to avoid obscuring the present disclosure in unnecessary detail.

The word “printer” and terms “printing environment” and “printingsystem” as used herein encompasses any apparatus and/or system, such asa digital copier, xerographic and reprographic printing systems,bookmaking machine, facsimile machine, multi-function machine, etc.which performs a print outputting function for any purpose.

According to the present disclosure, a system and method are providedfor supporting printer-based features in an IPDS printing environment.The present disclosure calls for the printer to assign logical pageidentifiers to IPDS pages and track them internally. The printer onlyreports status to the Print Service Facility (PSF) or host computer forpages flagged as host generated pages. Printer generated pages, such asbanners, multiple copies, slip sheets, inserts, sample sheets, etc., arenot included in IPDS page counts. This enables the user to invokeadvanced printer-based features at the printer without corrupting thecounts used by the host computer for error recovery and print jobmanagement in the IPDS printing environment.

Referring now to FIGS. 1 and 2, there are shown respectively a blockdiagram of an exemplary IPDS printing system and a method in accordancewith the present disclosure. The exemplary system and method of thepresent disclosure will now be described in detail with reference tothese figures. The system of the present disclosure designated generallyby reference numeral 10 includes a printing system 11 having a printercontroller 12 and a print engine 26.

The printer controller 12 has at least one processor 14. The at leastone processor 14 includes an IPDS gateway 16, an IPDS decomposer 18, apage sequencer 20, and a marker 22 whose functions are described hereinbelow for performing the method according to the present disclosure.

The at least one processor 14 performs the functions and steps describedherein below for the method according to the present disclosure. Inparticular, the at least one processor 14 executes application softwarehaving a series of programmable instructions for performing thefunctions of the system and method according to the present disclosure.The application software can be stored on a computer-readable medium,such as a CD-ROM, DVD, hard drive, and diskette.

It is contemplated that the at least one processor can be embeddedwithin at least one of the IPDS gateway 16, the IPDS decomposer 18, thepage sequencer 20, and the marker 22. It is further contemplated thatthe IPDS gateway 16, IPDS decomposer 18, page sequencer 20, and marker22 can be configured as software, firmware and/or hardware.

As shown by FIG. 1, the printer controller 12 communicates with an IPDShost computer 24 and the print engine 26. The printer controller 12 andprint engine 26 are components of a printer, such as a DocuSP® printer,having advanced printer-based features, such as N-1 printing andimposition.

In operation, the IPDS gateway 16 informs the IPDS host computer 24 whenit receives a physical page. The IPDS gateway 16 assigns the physicalpage it receives an IPDS logical page ID (ILPID) and stores the physicalpage as a text string in the control structure for the physical page.The ILPID for each physical page is then provided to the IPDS decomposer18 along with other page data. When the IPDS decomposer 18 completesprocessing the physical page, the IPDS decomposer 18 provides the ILPIDto the page sequencer 20, along with the control data for the decomposedphysical page. If at least one logical page is imposed on the singlephysical page, then, at this point, the ILPIDs for each logical IPDSpage are simply concatenated or correlated by the page sequencer 20 intothe ILPID assigned or belonging to the corresponding physical page.

Instead of concatenating at least one ILPID associated with the at leastone logical IPDS page into an ILPID associated with the correspondingphysical page, another approach is to obtain a similar effect fromcreating a list or some other collection of ILPIDs. For instance, anobject oriented implementation can be developed using a Page Object torepresent each page. The Page Object could have an ILPID attribute,containing the value for the page, and the Page Object could providemethods to Get, Set, and Append to the page's ILPID information. Still,another approach is to use a list of integers, in which each entrycorresponds to an ILPID. Such a list could be of variable length, ifsupported by the implementation language, or could use a zero-filledentry to signal the end of the valid data. Alternatively, in anotherapproach, a linked list can be used to represent the collected ILPIDsfor a page. In this case, each node in the list consists of an ILPID inthe form of an integer, and a pointer to the next node. These arealternate to concatenating each ILPID for collecting the ILPIDs for eachphysical page. Which ever approach is utilized, the system and methodaccording to the present disclosure collect the ILPIDs for each physicalpage.

When the printing system generates pages (e.g., banners, multiplecopies, slip sheets, inserts, sample sheets, etc.), it does not provideILPIDs for them. Since only pages received from the IPDS host are taggedwith ILPIDs, the count of ILPIDs for a set of physical pages can be usedto determine the count of IPDS logical pages associated with them.

For example, the host computer 24 may intend a series of pages to printsingle sided, but a user (queue override) setting may force these pagesto print on both sides of the physical media. In this case, simply usingthe count of physical sheets to derive the page count to report to thehost computer 24 would produce an incorrect result. Instead, by countingthe ILPIDs processed with the set of physical sheets, the gateway isable to determine the correct number of logical IPDS pages toacknowledge. Similarly, user settings may force a job to print inreverse (N-1) order. Even if the count of pages is correct, the order isimportant, because the host computer 24 uses the count of pages todetermine the point at which to resume processing for recovery, in theevent of a system failure. In this case, the IPDS gateway 16 uses theILPIDs to ensure that the committed and stacked page counts reported tothe host computer 24 reflect complete groups of pages that arecontiguous with the pages preceding them, in order to guarantee thathost recovery will function correctly, in the event of a system failure.

The marker 22 interfaces with the print engine 26 and communicates orreports the appropriate ILPIDs back to the IPDS gateway 16 as at leastone of individual pages and groups of pages which are committed forprinting by the print engine 26, or stacked, by the print engine 26. TheIPDS gateway 16 analyzes the ILPID data received from the marker 22, anduses the analyzed ILPID data to determine the appropriate page countvalues to return to the IPDS host computer 24. In particular, thegateway 16 counts the complete number of ILPIDs associated with physicalpages to obtain an ILPID-based page count value for reporting to thehost computer 24. Since printing system or printer generated pages arenot assigned an ILPID (since they are not received from the hostcomputer), they cannot be confused with IPDS pages, and will not beincluded in the page counts that the IPDS gateway 16 returns to the IPDShost computer 24 as the print job progresses.

In addition, the IPDS gateway 16 can use the ILPIDs to determine whetherpages were reordered for N-1 printing, or imposition. If so, the IPDSgateway 16 will wait until a complete sequence of pages in 1-N order canbe reported, before informing the host computer 24 that pages have beencommitted for printing by the print engine 26 or stacked by the printengine 26. This allows these features to be used without compromisingthe integrity of IPDS error recovery, which depends on a simple,accumulated page count, and does not track the state of individualpages.

With reference to FIG. 2, there is shown a flowchart illustrating themethod according to the present disclosure. At step 200, the IPDSgateway 16 informs the IPDS host computer 24 that it received a physicalpage. At step 202, the IPDS gateway 16 assigns the physical page itreceived an IPDS logical page ID (ILPID) and, at step 204, the IPDSgateway 16 stores the physical page as a text string in the controlstructure for the physical page.

At step 206, the ILPID for each physical page is then provided to theIPDS decomposer 18 along with other page data. At step 208, the IPDSdecomposer 18 processes the physical page, and, at step 210, the IPDSdecomposer 18 provides the ILPID to the page sequencer 20, along withthe control data for the decomposed physical page. The process thenproceeds to step 212, where it is determined if at least one logicalpage (e.g., banners, multiple copies, slip sheets, inserts, samplesheets, etc.) is imposed on the single physical page. If yes, then atstep 214, the ILPIDs for each logical page are concatenated orcorrelated into the ILPID associated or belonging to the correspondingphysical page and the process proceeds to step 216. If no, then theprocess bypasses step 214 and proceeds to step 216.

At step 216, the marker 22 interfaces with the print engine 26 andcommunicates or reports the appropriate ILPIDs back to the IPDS gateway16 as at least one of individual pages and groups of pages which arecommitted for printing by the print engine 26, or stacked, by the printengine 26. At step 218, the IPDS gateway 16 analyzes the ILPID datareceived from the marker 22, and, at step 220, uses the analyzed ILPIDdata to determine the appropriate page count values to return to theIPDS host computer 24. In particular, the gateway 16, at step 220,counts the complete number of ILPIDs associated with physical pages toobtain the ILPID-based page count value for reporting to the hostcomputer 24.

As stated above, since printing system or printer generated pages arenot assigned an ILPID (since they are not received from the hostcomputer), they cannot be confused with IPDS pages, and will not beincluded in the page counts that the IPDS gateway 16 returns to the IPDShost computer 24 as the print job progresses. In addition, the IPDSgateway 16 can use the ILPIDs to determine whether pages were reorderedfor N-1 printing, or imposition. If so, the IPDS gateway 16 will waituntil a complete sequence of pages in 1-N order can be reported, beforeinforming the host computer 24 that pages have been committed forprinting by the print engine 26 or stacked by the print engine 26. Thisallows these features to be used without compromising the integrity ofIPDS error recovery, which depends on a simple, accumulated page count,and does not track the state of individual pages.

The system and method of the present disclosure allow a user of aprinter having advanced features, such as a DocuSP® printer, to use alarge part of these advanced printer-based features, such as the richDocuSP® feature set, with IPDS print jobs. This level of functionalitywill set DocuSP® printers and other printers having advanced featuresapart from the majority of IPDS printers in an IPDS printingenvironment. In addition, the system and method of the presentdisclosure promote system coherence and ease of use, by making itpossible to program print queues for IPDS consistently with other pagedescription languages.

Furthermore, the system and method in accordance with the presentdisclosure makes it possible to use printer-based features, such as N-1printing and imposition, which reorder output pages, in an IPDS printingenvironment which is not possible using conventional printing schemes.Additionally, the system and method in accordance with the presentdisclosure makes it possible to perform printer-based imposition orlogical page processing, which combines two or more logical pages on asingle side of a physical sheet of paper, without affecting the pagecounts reported to the host computer.

It will be appreciated that various of the above-disclosed and otherfeatures and functions, or alternatives thereof, may be desirablycombined into many other different systems or applications. Variouspresently unforeseen or unanticipated alternatives, modifications,variations or improvements therein may be subsequently made by thoseskilled in the art which are also intended to be encompassed by thefollowing claims.

1. In an IPDS printing environment having an IPDS host computer incommunication with a printer controller of a printing system, a methodfor supporting printer based features which change the number ofphysical pages printed by a print engine of the printing system, themethod comprising: associating an IPDS logical page identifier (ILPID)with each physical page of a print job received from the IPDS hostcomputer; determining a page count value based on the number of ILPIDs;and reporting the determined ILPID-based page count value rather than aphysical page count value to the IPDS host computer.
 2. The methodaccording to claim 1, wherein the method is performed by at least oneprocessor of the printer controller executing application software. 3.The method according to claim 1, wherein the step of associating isperformed by a gateway of the printer controller, said gateway being incommunication with the IPDS host computer for receiving physical pagesof said print job from the IPDS host computer and reporting thedetermined ILPID-based page count value to the IPDS host computer. 4.The method according to claim 1, wherein the step of determiningcomprises: processing each physical page associated with an ILPID todetermine if at least one logical page is imposed on said processedphysical page; concatenating at least one ILPID associated with the atleast one logical page into an ILPID associated with the correspondingphysical page, if it is determined that at least one logical page isimposed on said processed physical page; and counting the completenumber of ILPIDs associated with physical pages following the processingand concatenating steps to obtain the ILPID-based page count value. 5.The method according to claim 1, wherein the step of reportingcomprises: communicating ILPID data to a gateway as at least one ofindividual pages and groups of pages committed for printing, or stacked,by the print engine; and analyzing the ILPID data by the gateway fordetermining the ILPID-based page count value.
 6. The method according toclaim 5, wherein the analyzing step comprises: determining whetherphysical pages were reordered for N-1 printing or imposition; andwaiting until a compete sequence of pages in 1-N order can be reportedbefore informing the host computer that pages have been committed forprinting or stacked by the print engine, if it is determined that thephysical pages were reordered for N-1 printing or imposition.
 7. Themethod according to claim 1, wherein the printing system is axerographic printing system.
 8. A printing system for supporting printerbased features which change the number of physical pages printed by aprint engine of the printing system in an IPDS printing environment, theprinting system comprising: a printer controller having at least oneprocessor for executing application software for performing the methodcomprising: associating an IPDS logical page identifier (ILPID) witheach physical page of a print job received from an IPDS host computer;determining a page count value based on the number of ILPIDs; andreporting the determined ILPID-based page count value rather than aphysical page count value to the IPDS host computer.
 9. The printingsystem according to claim 8, wherein the printer controller furthercomprises a gateway, said gateway being in communication with the IPDShost computer for receiving physical pages of said print job from theIPDS host computer and reporting the determined ILPID-based page countvalue to the IPDS host computer.
 10. The printing system according toclaim 8, wherein the at least one processor executes the applicationsoftware for: processing each physical page associated with an ILPID todetermine if at least one logical page is imposed on said processedphysical page; concatenating at least one ILPID associated with the atleast one logical page into an ILPID associated with the correspondingphysical page, if it is determined that at least one logical page isimposed on said processed physical page; and counting the completenumber of ILPIDs associated with physical pages following the processingand concatenating steps to obtain the ILPID-based page count value. 11.The printing system according to claim 8, wherein the at least oneprocessor executes the application software for: communicating ILPIDdata to a gateway as at least one of individual pages and groups ofpages committed for printing, or stacked, by the print engine; andanalyzing the ILPID data by the gateway for determining the ILPID-basedpage count value.
 12. The printing system according to claim 11, whereinthe at least one processor executes the application software for:determining whether physical pages were reordered for N-1 printing orimposition; and waiting until a compete sequence of pages in 1-N ordercan be reported before informing the host computer that pages have beencommitted for printing or stacked by the print engine, if it isdetermined that the physical pages were reordered for N-1 printing orimposition.
 13. The printing system according to claim 8, wherein theprinting system is a xerographic printing system.
 14. Acomputer-readable storage medium storing a set of programmableinstructions capable of being executed by at least one processor forperforming a method enabling printer based features which change thenumber of physical pages printed by a print engine of a printing systemto be supported in an IPDS printing environment, the method comprising:associating an IPDS logical page identifier (ILPID) with each physicalpage of a print job received from an IPDS host computer; determining apage count value based on the number of ILPIDs; and reporting thedetermined ILPID-based page count value rather than a physical pagecount value to the IPDS host computer.
 15. The computer-readable storagemedium according to claim 14, wherein the step of associating isperformed by a gateway of the printer controller, said gateway being incommunication with the IPDS host computer for receiving physical pagesof said print job from the IPDS host computer and reporting thedetermined ILPID-based page count value to the IPDS host computer. 16.The computer-readable storage medium according to claim 14, wherein thestep of determining comprises: processing each physical page associatedwith an ILPID to determine if at least one logical page is imposed onsaid processed physical page; concatenating at least one ILPIDassociated with the at least one logical page into an ILPID associatedwith the corresponding physical page, if it is determined that at leastone logical page is imposed on said processed physical page; andcounting the complete number of ILPIDs associated with physical pagesfollowing the processing and concatenating steps to obtain theILPID-based page count value.
 17. The computer-readable storage mediumaccording to claim 14, wherein the step of reporting comprises:communicating ILPID data to a gateway as at least one of individualpages and groups of pages committed for printing, or stacked, by theprint engine; and analyzing the ILPID data by the gateway fordetermining the ILPID-based page count value.
 18. The computer-readablestorage medium according to claim 17, wherein the analyzing stepcomprises: determining whether physical pages were reordered for N-1printing or imposition; and waiting until a compete sequence of pages in1-N order can be reported before informing the host computer that pageshave been committed for printing or stacked by the print engine, if itis determined that the physical pages were reordered for N-1 printing orimposition.
 19. The computer-readable storage medium according to claim14, wherein the printing system is a xerographic printing system. 20.The computer-readable storage medium according to claim 14, wherein thecomputer-readable storage medium is selected from the group consistingof CD-ROM, DVD, hard drive and diskette.